{include file = 'header.tpl'}
{$category}
{if ($sub[0].simple neq '1') && ($user.groupid gt 1)}
	<P style='margin-left:10px'><A href="index.php?doc-create-{$sub[0].fid}" target="_bank"><IMG alt="发帖" src="style/default/Foren.png" border=0></IMG></A></P> 
{/if}
<hr style="BORDER-BOTTOM-STYLE: dotted; BORDER-LEFT-STYLE: dotted; BORDER-RIGHT-STYLE: dotted; BORDER-TOP-STYLE: dotted" color=blue size=1 />
{section name=i loop=$subPost} 
	{assign var=subPostI value=$subPost[i]}
	{section name=j loop=$subPostI} 
		<p style='margin-left:10px'><img src="{if $subPostI[j].origin eq 0}{$origin.0}{elseif $subPostI[j].origin eq 1}{$origin.1}{elseif $subPostI[j].origin eq 2}{$origin.2}{elseif $subPostI[j].origin eq 3}{$origin.3}{/if}" /><a href="index.php?doc-view-{$subPostI[j].pid}" target="_blank">{$subPostI[j].subject}</a>
		<span style="float:right; margin-right:15px;">{$subPostI[j].dateline|date_format:'%Y-%m-%d %H:%M:%S'}</span>
		</p>
	{/section}
{/section}
<p class="fenye a-r" stype="border:1px #ccc solid;padding:4px 6px;">{$departstr}</p>
{include file = 'footer.tpl'}
